# !/usr/bin/env python
# -*-coding:utf-8 -*-

"""
# Author     ：skyTree
# version    ：python 3.11
# Description：Resource的封装类，给所有继承此类的接口加上装饰器校验
"""
from flask_restful import Resource

from api.utils.tokens import login_required


class BaseResource(Resource):
    method_decorators = [login_required]
